html,
body,
#root {
  height: 100%;
  margin: 0;
  padding: 0;
  background-color: #f5f5f5;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
    'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
    'Noto Color Emoji';
}

.colorWeak {
  filter: invert(80%);
}

.ant-layout {
  min-height: 100vh;
}
.ant-pro-sider.ant-layout-sider.ant-pro-sider-fixed {
  left: unset;
}

canvas {
  display: block;
}

body {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

ul,
ol {
  list-style: none;
}

@media (max-width: 768px) {
  .ant-table {
    width: 100%;
    overflow-x: auto;
    &-thead > tr,
    &-tbody > tr {
      > th,
      > td {
        white-space: pre;
        > span {
          display: block;
        }
      }
    }
  }
}



.ant-pro-layout .ant-layout-header.ant-pro-layout-header {
    height: 56px;
    line-height: 56px;
    z-index: 19;
    width: 100%;
    padding-block: 0;
    padding-inline: 0;
    border-block-end: 0px solid rgba(5, 5, 5, 0.06);
    background-color: rgba(255, 255, 255, 0.6);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    transition: background-color 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}


.ant-pro-sider-menu {
  .ant-menu-item-selected {
    color: @primary-color !important;
    background-color: fade(@primary-color, 10%) !important;

    &::after {
      border-right: 3px solid @primary-color !important;
    }
  }

  .ant-menu-item:hover {
    color: @primary-color !important;
  }
}

.ant-pro-top-nav-header-menu {
  margin-left: auto !important;
}


.ant-pro-layout .ant-pro-layout-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    background-color: transparent;
    position: relative;
    padding-block: 32px;
    padding-inline: 40px;
    background: #fff;
}
